	package aden.Generic.Param;
	
	import java.io.File;
import java.util.Vector;
	
	public class GenParamData
	{
		public static final int Type_NODE = 0;
		public static final int Type_INT = 1;
		public static final int Type_DOUBLE = 2;
		public static final int Type_STRING = 3;
		public static final int Type_Undefined = 4;
		
		private int mType;
		private String mName;
		
		GenParamData(String inName,
					 int    inType)
		{
			mName = inName;
			mType = inType;
		}
		
		public String GetName() {return mName;}
		public int    GetType() {return mType;}
		public GenParamDouble GetDoubleValue() {assert(mType == Type_DOUBLE); return (GenParamDouble)this;}
		public GenParamInt GetIntValue() {assert(mType == Type_INT); return (GenParamInt)this;}
		public GenParamString GetStringValue() {assert(mType == Type_STRING); return (GenParamString)this;}
		public GenParamNode        GetNodeValue()   {assert(mType == Type_NODE); return (GenParamNode)this;}




		public static String GetProtectedName(String inName)
		{
			// remove every char diff from 0-9a-zA-Z_ and replace it by '_'
			
			return inName;
		}
	
	}